const api = require('../../api/api')
const app = getApp()
const util = require('../../utils/js/util')
Page({
  data: {
    detail: {}
  },
  onLoad(options) {
    const detail = JSON.parse(decodeURIComponent(options.detail))
    detail.image_path = detail.image_path.split(',')
    this.setData({ detail })
    console.log(detail);
    /*
      analysis: "<p><b>考虑左肺下叶炎症，建议进一步完善检查。考虑左肺下叶炎症，建议进一步完善检查。</b></p><p><strike>考虑左肺下叶炎症，建议进一步完善检查。考虑左肺下叶炎症，建议进一步完善检查。</strike></p><p><span style="font-size: 24px;">考虑左肺下叶炎症，建议进一步完善检查。考虑左肺下叶炎症，建议进一步完善检查。</span></p><p>考虑左肺下叶炎症，建议进一步完善检查。考虑左肺下叶炎症，建议进一步完善检查。</p>"
      analysistime: 1730344192
      createtime: "10-31 10:44"
      doctor:
      admin_id: 2
      avatar: "/uploads/20241031/cda70516bb3d0960cdeb68debf9768bf.jpg"
      createtime: 1729046228
      department: "全科"
      hospital_id: 3
      id: 6
      level_id: "27"
      name: "王峰"
      room_id: "42"
      specialty: "擅长难治性高血压、血糖控制不佳、体重异常、亚健康等"
      status: "1"
      status_text: "激活"
      title: "主任医师"
      updatetime: 1730356966
      user_id: 0
      __proto__: Object
      doctor_id: 6
      fileType: "jpeg"
      id: 28
      image_path: "https://jk.demo-dev.cn/uploads/20241031/c6f28718ce7a4db099974936962d391f.jpeg"
      status: "1"
      status_text: "Status 1"
      updatetime: "10-31 11:09"
      user_id: 2
    */
  },
  
})
